package com.yida.system.service;

import java.util.List;

import com.yida.system.api.domain.SysUserCommunity;
import com.yida.system.api.domain.request.BindCommunityRequest;
import com.yida.system.api.domain.request.RegisterBindRequest;
import com.yida.system.api.domain.request.SysUserOutsideOfficerRemoveRequest;
import com.yida.system.api.domain.request.SysUserQueryRequest;
import com.yida.system.api.vo.OfficerUserVO;

/**
 * @Author: PPV
 * @Date: 2023-03-08
 */

public interface ISysUserOutsideOfficerService {

    /**
     * 获取用户列表
     *
     * @param request
     * @return
     */
    List<OfficerUserVO> getPage(SysUserQueryRequest request);

    /**
     * 绑定项目
     * @param request
     */
    void bindCommunity(BindCommunityRequest request);

    /**
     * 根据用户ID获取绑定小区数据
     * 
     * @param userId
     * @return
     */
    List<SysUserCommunity> getBindCommunities(Long userId);

    /**
     * 新增外网用户
     */
    void insertOustidUser(RegisterBindRequest request);

    /**
     * 删除用户
     * @param request 删除参数
     * @return
     */
    void removeOutsideUser(SysUserOutsideOfficerRemoveRequest request);
}
